<?php
/**
 * Created by PhpStorm.
 * User: fujianguo
 * Date: 2017/3/8
 * Time: 下午4:24
 */

?>

<h1>欢迎<?=$model->username?></h1>
<p>

<?php $form = \yii\bootstrap\ActiveForm::begin()?>
<?=$form->field($model,'username')->textInput()?>
<?=$form->field($model,'password')->passwordInput()?>
<?=\yii\bootstrap\Html::submitButton('保存',['class' => 'btn btn-primary'])?>

<?php \yii\bootstrap\ActiveForm::end()?>

</p>

